home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #5
/
Amiga Plus CD - 1996 - No. 5.iso
/
pd
/
grafik
/
jacosub
/
rexx
/
playsetup.jsrx
< prev
next >
Wrap
Text File
|
1994-01-10
|
517b
|
22 lines
/* JACOsub PLAYSETUP command demonstration.
PLAYSETUP causes JACOsub to initialize itself for playing a script.
The command PLAYSETUP *must* be given prior to issuing a PLAYSCRIPT
command.
PLAYSETUP returns RESULT=0 if successful, or RESULT=1 if a problem
occurred.
*/
parse arg playmode
if ~arg() then playmode='INTERNAL'
options results
address 'JACOsub'
'PLAYSETUP' playmode
if result then
say 'script play initialization failed.'
else
say 'script play initialization successful.'
exit result